package com.jbp.model;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 用户技能(SkillUser)实体
 * @author cc
 * @since 2020-11-19 17:06:55
 */
@ApiModel(value="SkillUser")
@Data
public class SkillUser implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //用户id
    @ApiModelProperty(value="用户id")    
    
    private Integer userId;

    //技能id
    @ApiModelProperty(value="技能id")    
    
    private Integer skillId;

    //状态 0审核 1通过
    @ApiModelProperty(value="状态 2审核 3通过 4失败")
    
    private Integer status;

    //创建时间
    @ApiModelProperty(value="创建时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;

    //更新时间
    @ApiModelProperty(value="更新时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date updateTime;

    @TableField(exist = false)
    private String skillName;
    @TableField(exist = false)
    private String skillImage;
    @TableField(exist = false)
    private String skillPriceUnit;
    @TableField(exist = false)
    private Integer price;

    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String userHead;
    @TableField(exist = false)
    private String userSex;
    @TableField(exist = false)
    private Integer userLevel;
    @TableField(exist = false)
    private boolean userLevelOn;
    @ApiModelProperty(value="是否在线 online  离线 offline 隐身 hiding 在房间 inroom",name="isOnline")
    @TableField(exist = false)
    private String userIsOnline;
    @TableField(exist = false)
    private User user;

    @TableField(exist = false)
    List<SkillParam> params;

    @TableField(exist = false)
    String voice;

    @TableField(exist = false)
    Integer orderCount;

    @TableField(exist = false)
    BigDecimal avaScore;
}